package com.moon.proxy.entity;


import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Accessors(chain = true)
@Data
public class Ticket {
    private String name;


    public Ticket(Builder builder) {
        this.name = builder.name;
    }

    public static final class Builder{
        private String name;


        public Builder name(String name){
            this.name = name;
            return this;
        }

        public Ticket build() {
            return new  Ticket(this);
        }
    }
}
